package cn.sunjinxin.trade.domain.model.entity;

import cn.sunjinxin.trade.domain.enums.CurrencyType;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.math.BigDecimal;

/**
 * @author issavior
 */
@Data
@FieldDefaults(makeFinal = false, level = lombok.AccessLevel.PRIVATE)
public class Money {

    BigDecimal amount;

    CurrencyType currency;

    BigDecimal exchangeRate;

}
